//
//  BaseAnimationView.h
//  project
//
//  Created by 黄建华 on 2018/6/26.
//  Copyright © 2018年 黄建华. All rights reserved.
//

#import <UIKit/UIKit.h>
#define KK_BASEANIMATION [BaseAnimationView sharedInstance]

@interface BaseAnimationView : UIView

AS_SINGLETON(BaseAnimationView)

// 位置移动
- (void)positionAnimation:(UIView *)view fromSize:(CGPoint)size1 toSize:(CGPoint)size2;
// 透明度变化
- (void)opacityAniamtion:(UIView *)view fromAlpha:(CGFloat)alpha1 toAlpha:(CGFloat)alpha2;
// 缩放
- (void)scaleAnimation:(UIView *)view scale:(CGFloat)size;
// 旋转
- (void)rotateAnimation:(UIView *)view rotate:(CGFloat)value;

@end
